
import { EventDispatcher } from "./EventDispatcher";

 export class GEvent extends EventDispatcher
 {
     private static gEvent : GEvent;

     static get instance()
     {
         if (!this.gEvent)
         {
             this.gEvent = new GEvent();
         }

         return this.gEvent;
     }
     static destory() {
         if (this.gEvent) {
             this.gEvent = null;
         }
     }

     Init(){};
 }